package edu.maimonides.ejercicios.ides1.gui;

import edu.maimonides.ejercicios.ides1.Calculadora;

public class MockCalculadora extends Calculadora {
	
	public String operacion;
	@Override
	public Double dividir(double num, double denum) {
		operacion="dividir";
		return super.dividir(num, denum);
	}
	@Override
	public Double multiplicar(double val1, double val2) {
		operacion="multiplicar";
		return super.multiplicar(val1, val2);
	}
	@Override
	public Double restar(double val1, double val2) {
		operacion="restar";
		return super.restar(val1, val2);
	}
	@Override
	public Double sumar(double val1, double val2) {
		operacion="sumar";
		return super.sumar(val1, val2);
	}
}
